Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
BAM "dev" and "prod" directives
#3
(11-22-2022, 12:01 AM)mnrvovrfc Wrote: I guess an ordinary QB64(PE) program having $IF THESE THEN preprocessor directives, will need to get them stripped in favor of <<prod """these""">> directives for this other processor. In "production" the programmer must be polite if he/she doesn't know who is the user of his/her program...

Apologies, cognitive disability over here, which makes it hard for me to express my thoughts and understand what others are saying/writing.

Does QB64(PE) have IF THESE THEN preprocessor directives?  If so, I totally missed that in the wiki.

The rest of your reply, I don't understand what you are saying.

To clarify my part, the "dev" and "prod" directives allow deploying a BASIC program in either development or production versions, regardless of the current promotion state of a program.

To make easy for a user to know what version they are in, you might make the development versions' screen black text on yellow brackground, and the production version lightgreen text on black background.  Then the user has a very obvious cue of which version they are in.  So they know that when they are testing something, they are at the right program.  And when they want to do "production" stuff, that they are in the right program.

I'm not sure I'm explaining myself right.
Reply


Messages In This Thread
BAM "dev" and "prod" directives - by CharlieJV - 11-21-2022, 11:48 PM
RE: BAM "dev" and "prod" directives - by CharlieJV - 11-22-2022, 01:55 AM
RE: BAM "dev" and "prod" directives - by SMcNeill - 11-22-2022, 04:11 AM
RE: BAM "dev" and "prod" directives - by SMcNeill - 11-22-2022, 05:01 AM



Users browsing this thread: 2 Guest(s)