View Single Post
Old 06-25-2014, 10:02 PM   #17
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by myki View Post
As i said i didn't knew anything about GPM.
For me i feel more comfortable with program mode thanks to the use of variables.
And the writing is more vertical, when the normal mode is more horizontal.

I'm curious :
Is it possible to use variables in normal mode, and how ??
Is it possible to increase the size of the police inside the modele editor ?

Thanx for your help...

@chaley :
If i had your function, it would have been so easier for me to harmonize my authors the first time i built my database
As you can see in my example, I used two evaluation templates, for fn and ln, then simply added LN= before it. Simple assignment of variables.

Code:
variable=function();
Important things to remember:
  • every line or block must end with ";" to separate them -- not required for the last one.
  • Only the last block will be returned as the template value.
  • If you want to make use of multiple pieces of info, strcat() is your friend. It takes a list of comma-separated items (all those variables you created) and adds them together. Use this as the last block, to return a final value.

Last edited by eschwartz; 06-25-2014 at 10:07 PM.
eschwartz is offline   Reply With Quote