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

Possibly Related Threads…
Thread Author Replies Views Last Post
  BAM Draw CharlieJV 9 1,992 11-07-2023, 10:27 PM
Last Post: James D Jarvis
  One program, different behaviour (DEV vs PROD) CharlieJV 1 671 07-30-2023, 04:25 AM
Last Post: CharlieJV
  BAM: New version CharlieJV 0 492 06-29-2023, 02:22 AM
Last Post: CharlieJV
  BAM App Personalizer (a GUI to personalize BAM programs) CharlieJV 0 478 01-06-2023, 03:48 AM
Last Post: CharlieJV
  BAM FIX: disappearing BAM menu bar on mobile web browsers CharlieJV 0 474 12-11-2022, 07:00 PM
Last Post: CharlieJV

Forum Jump:


Users browsing this thread: