Hello everyone, I set the saving of an HTML page as a string and used a substring to match colors stored in a variable [[COLORI]]. I noticed that the result is not accurate, as BAS might also match terms like "REDWHITE" when my variable is "RED." Is there a solution for this? Thanks.
Open another project in BAS
Open the project file in the tax editor and use search (CTRL + F) to find <Module Name="CommonCode">
Delete the found line, if there are no other modules besides CommonCode, then completely replace <Modules>...</Modules> with <Modules/>
Save the file
Open the project in BAS a new one, via Project -> Open.
Sorry bud, I didn't see this come across my feed!
You can also use Math.trunc(decs). Just change the type from String to expression when setting the variable.