Search found 371 matches

Go to advanced search

by Gabriel
Mon May 20, 2019 1:03 pm
Forum: General Development
Topic: BREAK Command Features
Replies: 9
Views: 48

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...
by Gabriel
Sun May 19, 2019 6:18 pm
Forum: General Development
Topic: BREAK Command Features
Replies: 9
Views: 48

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 ...
by Gabriel
Sun May 19, 2019 3:07 pm
Forum: General Development
Topic: Listviews By Hand
Replies: 0
Views: 7

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...
by Gabriel
Sun May 19, 2019 1:59 pm
Forum: General Development
Topic: BREAK Command Features
Replies: 9
Views: 48

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...
by Gabriel
Mon Apr 29, 2019 1:10 pm
Forum: General Development
Topic: missing accuracy
Replies: 6
Views: 105

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...
by Gabriel
Mon Apr 29, 2019 12:20 pm
Forum: General Development
Topic: missing accuracy
Replies: 6
Views: 105

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...
by Gabriel
Mon Apr 29, 2019 11:29 am
Forum: General Development
Topic: missing accuracy
Replies: 6
Views: 105

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...
by Gabriel
Mon Feb 11, 2019 5:04 pm
Forum: Printing
Topic: PRINTER_LIST function on Windows 10
Replies: 10
Views: 493

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...
by Gabriel
Mon Jan 28, 2019 11:45 am
Forum: Conferences
Topic: 2019 Conference - need your input please!
Replies: 7
Views: 389

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
by Gabriel
Mon Oct 08, 2018 7:51 pm
Forum: Announcements
Topic: ScreenIO Release v2.50 Now Available
Replies: 1
Views: 594

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
by Gabriel
Sat Sep 15, 2018 1:07 am
Forum: Announcements
Topic: ScreenIO Release v2.50 Now Available
Replies: 1
Views: 594

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...
by Gabriel
Mon Sep 10, 2018 5:01 pm
Forum: General Development
Topic: web services
Replies: 9
Views: 1086

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
by Gabriel
Fri Sep 07, 2018 4:12 pm
Forum: General Development
Topic: web services
Replies: 9
Views: 1086

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 ...
by Gabriel
Fri Sep 07, 2018 1:30 pm
Forum: General Development
Topic: web services
Replies: 9
Views: 1086

Re: web services

Here's an example of a function I wrote that checks the price of the passed in Crypto Coin, as of the given Date, by calling a web service hosted by the website CryptoCompare. def library fnGetPrice(;CurrencyType$,AsOfDate,AsOfTime$,Exchange$,___,Connection,AsOfDate$,P,Market$) if ~len(CurrencyType$...
by Gabriel
Tue Jul 31, 2018 2:17 am
Forum: Announcements
Topic: New ScreenIO! New FileIO! Dates and other Fruits
Replies: 2
Views: 639

Re: New ScreenIO! New FileIO! Dates and other Fruits

I have updated FileIO again, to resolve a small bug in the last version that broke non-mixed file layouts. (Thanks Mikhail for finding and reporting this bug). Because of the bug, you could no longer use the DataCrawler to view data files made of purely numeric or purely string fields. It is now fix...

Go to advanced search

cron