XAP problems


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Grant Foraker on March 20, 2007 at 12:23:28:

7.01 and all latest. Two problems with following code that have driven me nuts all morning.

1) Print to SP1 doesn't happen. No error.
2) MERGE of **TASSET** shows zero amount. CHECKING, SAVINGS, OASSETS, and RECEIVABLES merge and properly.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LET TASSET = CHECKING + SAVINGS + OASSETS + RECEIVABLES

OPEN (15) 'SP1'
PRINT (15) '------------------------'
PRINT (15) 'CHECKING';CHECKING
PRINT (15) 'SAVINGS';SAVINGS
PRINT (15) 'OTHER';OASSETS
PRINT (15) 'RECEIVABLES';RECEIVABLES
PRINT (15) 'TOTAL';TASSET
PRINT (15) '------------------------'

5000!=============== DISPLAY STATISTICS ============================
LET CGIDATA$ = STR(CHECKING)
WRITE (1,CGIDATA) KEY = '**CHECKING**'

LET CGIDATA$ = STR(SAVINGS)
WRITE (1,CGIDATA) KEY = '**SAVINGS**'

LET CGIDATA$ = STR(OASSETS)
WRITE (1,CGIDATA) KEY = '**OTHERA**'

LET CGIDATA$ = STR(RECEIVABLES)
WRITE (1,CGIDATA) KEY = '**RECEIVABLES**'

LET CGIDATA$ = STR(TASSET)
WRITE (1,CGIDATA) KEY = '**TASSET**'
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Checking:
**CHECKING**

Liabilities:
**LIABILITIES**


Total Assets:
**TASSET**

Total Liability/Equity:
**LETOTAL**



Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):






[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]