[Info-vax] LLVM, volatile and async VMS I/O and system calls

Dave Froble davef at tsoft-inc.com
Mon Oct 4 17:58:08 EDT 2021


On 10/4/2021 1:56 PM, Arne Vajhøj wrote:
> On 10/4/2021 1:37 PM, Simon Clubley wrote:
>> BTW, I don't know DEC Basic, but I have one question based on other
>> languages. While copying a string in this way appears redundant based
>> on what you are saying, are there any implicit type conversions that
>> can be done by adding an empty string to the other value ?
>>
>> For example, can you convert an integer to a string in this way ?
>
> You could try.
>
> I get:
>
>         s = v + ""
> ..............^
> %BASIC-E-ILLMODMIX, illegal mode mixing
>
> Arne
>

Basic uses built in functions for such.

B$ = NUM1$(123)
B = VAL(B$)


-- 
David Froble                       Tel: 724-529-0450
Dave Froble Enterprises, Inc.      E-Mail: davef at tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA  15486



More information about the Info-vax mailing list