Visual Basic Demo

Input VBA, translate to CFL, run code & see output
Presentation
image.png

SELECTOR:
USA
TOTAL:
0
Reset!
VBA
1
Search
VisualBasic
Run
Coda
Output
1
for C = 1 to count(CUSTOMERS)
if CUSTOMERS.Region[C]=SELECTOR then
for each ORD in CUSTOMERS[C].ORDERS
print ‘Cust:’+CUSTOMERS.ID[C]+’→Ord:’+ORD.OrdNumber
for each P in ORD.Products
if P.DeliveryType=2 then
print “—→Prod:”+P.ID+’→’+P.Price
TOTAL = TOTAL+P.Price
end if
next P
next ORD
end if
next C
Run!
runactions(_noop())
There are no rows in this table


Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.