[fpc-pascal] String conversions

Ryan Joseph genericptr at gmail.com
Tue Jun 25 20:15:37 CEST 2019


I’m making some string helper functions and using ansistring as inputs (in case there are longer strings than 255 chars). What happens when you pass a short string as an ansistring? Does the compiler have to allocate a new ansistring or can it do some smart optimization? 

Regards,
	Ryan Joseph



More information about the fpc-pascal mailing list