issue with Cstr(single)

Discuss the Firewing language

issue with Cstr(single)

Postby Jerry Messina » Wed Dec 11, 2013 2:08 pm

I'm having a problem using Cstr() on a single... generates an ERROR (undefined reference to `__Sign_Extend')
Cstr(double) seems to compile fine.

Code: Select all
dim f as single
dim d as double
dim s as string

f = 1.23
s = cstr(f)              // generates an ERROR
s = cstr(cdbl(f))     // convert single to double first works

d = 1.23
s = cstr(d)            // compiles ok
Jerry Messina
 
Posts: 280
Joined: Thu Feb 14, 2013 10:16 am

Re: issue with Cstr(single)

Postby David John Barker » Wed Dec 11, 2013 3:06 pm

Sorry about that - download the latest BETA (B6) to fix...
User avatar
David John Barker
 
Posts: 491
Joined: Thu Nov 08, 2012 12:21 pm


Return to Language

Who is online

Users browsing this forum: No registered users and 6 guests

x