View Single Post
Old 09-29-2022, 08:16 PM   #920
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,156
Karma: 77304081
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Question: Is it possible to set the default of a runtime variable to the value of a specified column of the selected book?

Code:
program:

	currentchap = globals(Current_Chapter=1);
 	strcat('OEBPS/file', format_number(add(currentchap, 1), '04d'), '.xhtml#kobo.1.1')
For example, can I set Current_Chapter to default to the value of #chaptercount rather than 1?

Last edited by ownedbycats; 09-29-2022 at 08:20 PM.
ownedbycats is offline   Reply With Quote