In this tutorial you can learn about using templates in (B4X) programming.
By using templates you can reuse the code you have already written or you can translate an app into another natural language.
Simply put some placeholders in the template file, fill in the values for the placeholders and generate a .bas file.
You can find the tutorial text in the attached pmtemplates.pdf file.
The pmtemplates.zip file contains the B4J project. Unzip it to use.
The pmtemplates_examples.zip contains some examples to use with the tool. Unzip it to use.
The tool contains a layout file conversion and viewing module. 2 layers from a layout can be reviewed.
In the code you can remove the comments from the recursive code to add the remaining layers but many layers on top of each other is difficult to review.
Maybe a 3D modelling programmer can provide us with a better solution.
As always,
Happy coding!
By using templates you can reuse the code you have already written or you can translate an app into another natural language.
Simply put some placeholders in the template file, fill in the values for the placeholders and generate a .bas file.
You can find the tutorial text in the attached pmtemplates.pdf file.
The pmtemplates.zip file contains the B4J project. Unzip it to use.
The pmtemplates_examples.zip contains some examples to use with the tool. Unzip it to use.
The tool contains a layout file conversion and viewing module. 2 layers from a layout can be reviewed.
In the code you can remove the comments from the recursive code to add the remaining layers but many layers on top of each other is difficult to review.
Maybe a 3D modelling programmer can provide us with a better solution.
As always,
Happy coding!