PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Minor future enhancements

PointOfLight · 16 Sep 2004, 18:34 UTC
I don't know how hard either of these would be, but here are thoughts on a couple of enhancements:

1. support the != construct. I don't believe PPL can use this yet, but it would be cool.

2. support a default directory in the GetFile & PutFile functions. It would be really neat to either pass in the application's working directory or the last directory that was surfed to for the next time the user chooses to open / save a file.

Neither of these are really important, but they would be nice if they weren't too hard to do.
Hi PointOfLight,

1. This cannot be implemented due to the fact that PPL uses NOT and not !. It wouldn't make sense to have != and NOT. It's not really longer to do this:

a$ = NOT b$; :D

I understand where your coming from. It would have been neat.

2. Good idea, I will look into this for the next build.
PointOfLight · 16 Sep 2004, 18:52 UTC
I actually didn't realize that a$ = NOT b$ would work. I just wanted to get away from the not(a$ == b$) syntax that I've been using.
Oups, you were talking about the != like the <> operator. And not the != like the += operator.

Sorry I didn't understood right then. This is something to think about. Have both operators <> and !=. Why not. Ok next version then... :D
PointOfLight · 16 Sep 2004, 19:12 UTC
Man, I've really got to actually TRY some of this stuff once in a while. I didn't realize you could use <>. That's actually fine with me. No reason to have both <> and !=. There's just so much to learn :D
Kornalius

Showing your "Delphi" background I think.

I just naturally used the "<>" operator, and always have to go back and correct the compiler errors when ever I am using "C" or C#".

Habits die slowly ............
GetFile and PutFile support an extra (optional) parameter with the initial directory name.

GetFile(filters, optionaldir)
PutFile(filters, optionaldir)