I'm hesitant to say anything here because I don't want to risk offending anyone. I have to agree with Marcus. I use not equal "" all the time and it is as reliable as equal "=". I have never seen an instance where there was a problem using not equal
I wondered how often I've used it so I wrote a little script to look through my current script directory to see how often "" showed up. The following script provides me with the following information.
206 of 1061 files contain a total of 587 instances of ""
I would also like to emphasize that this is my
current v13 script folder. I tend to let my script folder go empty with each new version of Macro Scheduler. I do bring forward some scripts as I need them but many only reside in the folder for the version I was using when they were created. I've been using Macro Scheduler since version 6 and I have written a lot of scripts. Not equal has never failed for me.
[b]Jerry Thomas[/b] wrote:I know I have a comment about some ugly work around in an old script but haven't found it yet.
Jerry I looked through all your old posts and the closest I came to finding a mention of an issue with "" was back in 2010 you had a problem using conplex expressions in a While> loop. Specifically that issue was with "=". While> was introduced in 2010 and Marcus acknowledged and fixed the problem straight away.
How often have you used ""? This script can tell you.
Code: Select all
GetFileList>%script_dir%\*.scp,vData,;
Separate>vData,;,vline
Let>vFileCount=0
Let>vNotEqualCount=0
Let>kk=0
Repeat>kk
Add>kk,1
Let>value=vline_%kk%
Message>%kk% %value%
ReadFile>value,vData
Separate>vData,<>,vPart
If>vPart_Count>1
Sub>vPart_count,1
Add>vNotEqualCount,%vPart_Count%
Add>vFileCount,1
EndIf
Until>kk=vline_count
MDL>%vFileCount% of %kk% files contain a total of %vNotEqualCount% instances of "<>"