From fc91f7ed3693603c67b4a5dbe6d7bc15a8b99969 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Thu, 2 Nov 2006 17:07:56 +0000 Subject: Nested IF support for the CLI script host git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@465 4979c152-3d1c-0410-bac9-87ea11338e46 --- utils/cli/sample.lsmb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'utils/cli/sample.lsmb') diff --git a/utils/cli/sample.lsmb b/utils/cli/sample.lsmb index 9e544b4e..24747b26 100644 --- a/utils/cli/sample.lsmb +++ b/utils/cli/sample.lsmb @@ -1,3 +1,4 @@ +# Comments start with a pund sign ENV:PGUSER = postgres # how to set an environment variable login = demo # How to set a form variable password = demo @@ -7,3 +8,7 @@ id = 10139 vc = customer db = customer CALL CT->create_links(user, form) # call a function +IF bcc4 # Conditional IF's can be nested +testing = hi +FI + -- cgit v1.2.3