F-Userlib: Create userlibs for your projects.

Miscellaneous Forums/Blitz Showcase/F-Userlib: Create userlibs for your projects.

To quote a decls file generated by it:

SavePosition%(SaveTo$,Offset#) ;Thisistheall-powerfulsave-worldfunction.


Obviously, there's a (apparently parsed and modified by your program) comment after it. Not really a big deal.

This is the function definition:

Function SavePosition(SaveTo$,Offset#=1234.5)		;This is the all-powerful save-world function.


I believe you could go from right to left in the string, if a ';' is found then everything after that in the string is truncated and the loop (you'd want to use a loop for the checking, I'm thinking) is exited.