Paradox Community

Items in pnews.paradox-programming

Subject:backslash in dynarray
Date:Tue, 14 Mar 2023 15:29:38 -0800
From:Peter <peterspammenot@whiteknight.email>
Newsgroups:pnews.paradox-programming
Ran into a a problem with a backslash in a dynarray element. Sometimes I 
get a "Error: identifier expected" and other instances it does work
dynName   dynarray[]smallint

These examples work
dynName["_\T`3e"] = 20
dynName["T_i\a"] = 10

These do not work
dynName["c[\_"] = 5
dynName["WTi\W3Z"] = 21

I did more testing and found the only letters that will work after a 
backslash are: a,b,f,n,r,t,v. Case insensitive.

All numers work and single quote (")

Does anyone know the reason for the ones that fail? Thanks.

I have attached a form that contains a dynarray defined in the form:open 
event. It shows what I am talking aboout

ps
I know for the ones that fail, it can be solved by using a double 
backslash but that causes other problems.


backslash.fsl


Copyright © 2004 thedbcommunity.com