Slight REPLACE$ problem

Previous topic - Next topic

MrTAToad

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...

Kitty Hello

Blimey! A nice bug.