CompuServe Thread

#Conversions

4 messages in this thread
#174994From: Daniel WaltonJun 12, 1995 4:49 PM
Anyone know how to convert an integer to a string? want to make a routine that will work on an object and all its instances, but I need to be able to refer to the copies by the integer part of their name. Thanks, Daniel
#175116From: Martin Doudoroff/KUBJun 13, 1995 9:23 AM
Daniel: >> Anyone know how to convert an integer to a string? << What you're looking for is a string function called STR$(). E.G.: ? STR$(5) will print "5" x = 45 ? STR$(x) will print "45" >> want to make a routine that will work on an object and all its instances, but I need to be able to refer to the copies by the integer part of their name. << You might want to check out some of the scripts in section 18: many of them contain similar routines to what you are trying to make. A good way to save yourself work is to cannibalize other scripts. Martin
#175134From: Jonas Ruikis [ADESK]Jun 13, 1995 10:30 AM
Hi Daniel, << Anyone know how to convert an integer to a string? >> Are you looking for Str$(x) or possibly Val(x$)? (Math,String and Logical Functions in the New Features Guide)
#175907From: Daniel WaltonJun 17, 1995 12:44 PM
>>Are you looking for Str$(x) or possibly Val(x$)? (Math,String and Logical Functions in the New Features Guide)<< There they are! I saw all the Sin,Cos, and Tan functions and skipped over the rest. Thanks.