Search found 403 matches
- Sat Jul 13, 2019 6:23 pm
- Forum: General Development
- Topic: System call to Atlantis word processor hanging
- Replies: 29
- Views: 56036
Re: System call to Atlantis word processor hanging
This might not be pretty, but it may work: Is there a way you could trap for the error, and when you encounter it, sleep for a minute, and then try again? In BR when I call external programs, I often do it with the -C switch so that BR continues running .., then I loop and check for the appearance o...
- Sat Jul 13, 2019 3:43 pm
- Forum: General Development
- Topic: System call to Atlantis word processor hanging
- Replies: 29
- Views: 56036
Re: System call to Atlantis word processor hanging
If its only the first time the user logs on, that gives me a couple other questions: Is this running off an external hard drive? or an internal one? I had an issue before where the first time I try to run a program, it spins up the external hard drive, and that takes a second. That was causing the p...
- Mon May 20, 2019 1:03 pm
- Forum: General Development
- Topic: BREAK Command Features
- Replies: 9
- Views: 20341
Re: BREAK Command Features
example: CLEAR DISPLAY -P BR ALL This will display all variables changed in all programs run. Given that information one could create a debug library to be referenced by the following snippet: DEF FNDEBUG IF NOT DEBUG_LIBRARY_CALLED THEN LIBRARY "DBGLIB": FNDEBUG1 DEBUG_LIBRARY_CALLED = 1...
- Sun May 19, 2019 6:18 pm
- Forum: General Development
- Topic: BREAK Command Features
- Replies: 9
- Views: 20341
Re: BREAK Command Features
BREAK IF FNmyUserFunction FNmyUserFunction would be executed before every statement and if it returned a nonzero value the program would drop into step mode. Gordon, if fnMyUserFunction can be any statement that returns zero/nonzero, and not just a custom function, then that would provide the best ...
- Sun May 19, 2019 3:07 pm
- Forum: General Development
- Topic: Listviews By Hand
- Replies: 0
- Views: 18412
Listviews By Hand
Someone at the conference asked me to share some examples of populating a listview by hand. Here's one I do for one of my customers. This code is copy and pasted out of one of my programs. I attempted to remove parts of the program that were not relevant, but its possible that I removed something on...
- Sun May 19, 2019 1:59 pm
- Forum: General Development
- Topic: BREAK Command Features
- Replies: 9
- Views: 20341
Re: BREAK Command Features
This is pretty neat. I did not realize number 1) (that break can name a user defined function, or a label for that matter). I didn't realize they could handle Clause numbers. Conditional breakpoints are cool, but they're kind of elementary .. I mean most of us have been doing the same thing but with...
- Mon Apr 29, 2019 1:10 pm
- Forum: General Development
- Topic: missing accuracy
- Replies: 6
- Views: 16505
Re: missing accuracy
Ok, from some further research, I've found out whats going on. The # next to your PIC statement is whats causing BR to treat it as a number instead of as a string. Once BR treats it as a number internally, you're limited to 15 digits of accuracy, because of a limitation of the Intel chipset with res...
- Mon Apr 29, 2019 12:20 pm
- Forum: General Development
- Topic: missing accuracy
- Replies: 6
- Views: 16505
Re: missing accuracy
From the page on the Wiki, it looks like RD doesn't change how many digits of accuracy you get, it just determines how many of those digits are before the decimal and how many are after. I thought there was something else you could set. I had this problem when I expanded my accounting software to ke...
- Mon Apr 29, 2019 11:29 am
- Forum: General Development
- Topic: missing accuracy
- Replies: 6
- Views: 16505
Re: missing accuracy
I'm not sure. Maybe you're running into a limitation with the PIC statement. Or it could be that PIC causes BR to treat it as a numeric variable, and perhaps there's a limitation in BR for handling numbers that big? But, regardless, it seems like PIC might not be the way to go for a 17 digit account...
- Mon Feb 11, 2019 5:04 pm
- Forum: Printing
- Topic: PRINTER_LIST function on Windows 10
- Replies: 10
- Views: 31052
Re: PRINTER_LIST function on Windows 10
One of my clients called recently describing this same problem.. They were an end user so their description was that the printers were no longer working, but after investigating, they found out they couldn't print to those printers through windows either anymore. At that point they ended the convers...
- Mon Jan 28, 2019 11:45 am
- Forum: Conferences
- Topic: 2019 Conference - need your input please!
- Replies: 7
- Views: 18850
Re: 2019 Conference - need your input please!
For anyone who's interested in meeting up Saturday, I'll be there saturday too. I just plan to stay in a different hotel friday night.
Gabriel
Gabriel
- Mon Oct 08, 2018 7:51 pm
- Forum: Announcements
- Topic: ScreenIO Release v2.50 Now Available
- Replies: 1
- Views: 14018
Re: ScreenIO Release v2.51 Now Available
Release 2.51 is now available, with a minor bug fix to the new feature added in Release 2.50.
As always, the latest ScreenIO can be downloaded at any time at:
http://www.sageax.com/downloads/ScreenIO.zip
As always, the latest ScreenIO can be downloaded at any time at:
http://www.sageax.com/downloads/ScreenIO.zip
- Sat Sep 15, 2018 1:07 am
- Forum: Announcements
- Topic: ScreenIO Release v2.50 Now Available
- Replies: 1
- Views: 14018
ScreenIO Release v2.50 Now Available
There's a new version of ScreenIO available for download from the Sage AX Website. Be sure to update to take advantage of the latest features! http://www.sageax.com/downloads/ScreenIO.zip Version 2.50 adds 2 notable features: ScreenIO now closes the ScreenIO and ScreenFld data files after reading th...
- Mon Sep 10, 2018 5:01 pm
- Forum: General Development
- Topic: web services
- Replies: 9
- Views: 21685
Re: web services
Thanks Gordon! I was just about to reply but you beat me to it. You also gave a more thorough answer because I didn't know the cert expires after a while and I didn't know where to download a new one. I was just gonna share mine on here.
Gabriel
Gabriel
- Fri Sep 07, 2018 4:12 pm
- Forum: General Development
- Topic: web services
- Replies: 9
- Views: 21685
Re: web services
My bad. fnEpochTime formats a BR Time and date into the format that the website uses, which I believe is number of seconds past jan 1, 1970 or something like that. Hard coding it to 0 will, as you discovered, cause the website to always just return the current price. Here's the function if you want ...