GLBasic forum

Main forum => Bug Reports => Topic started by: MrTAToad on 2010-Apr-09

Title: Slight REPLACE$ problem
Post by: MrTAToad on 2010-Apr-09
With the following :

Code (glbasic) Select
b$=REPLACE$(a$,"\\",REP$)

The compiler returns "error: `REP$' was not declared in this scope" whether or not REP$ is defined


However, doing :

Code (glbasic) Select
b$=REPLACE$(a$,"\\","/")

is fine...
Title: Re: Slight REPLACE$ problem
Post by: Kitty Hello on 2010-Apr-09
Blimey! A nice bug.