Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

RE: [mv] Incrementing a scatch variable.



******    message to minivend-users from "Jerry" <jerry@data-logic.com>     ******

Try:
[set name="count" interpolate=1][calc]'[scratch count]' + 1[/calc][/set]
Hope this helps.

> ******    message to minivend-users from Aboubacar Diare 
> <asd@sykemo.CCIT.Arizona.EDU>     ******
> 
> Does anyone know how to increment a scratch variable?
> 
> The following is a portion of the code i am using:
> 
> [if scratch count == 6]
> 		</tr><tr>
> 	[else]
> 	[set count][scratch count + 1][/set]
> 	[/else]
> 	[/if]
> 
> i initially set count to 1.  It does not increment count for 
> some reason
> in the [else] statement.  
> 
> Any help would be appreciated.  Thank you.
> 
> Aboubacar.
> 
> -
> To unsubscribe from the list, DO NOT REPLY to this message.  
> Instead, send
> email with 'UNSUBSCRIBE minivend-users' in the body to 
> Majordomo@minivend.com.
> Archive of past messages: 
> http://www.minivend.com/minivend/minivend-list
> 
-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: