PhotoWebMax Posted June 13, 2014 Posted June 13, 2014 How would you present blocks of code to PW pages that would not be executed? (i.e.: just show the code)... Something like the code clipboard feature that everyone uses to showcase code on this forum system? Is there a simple method or a PW Module to handle this chore? Thanks!
GuruMeditation Posted June 13, 2014 Posted June 13, 2014 I just set up a textarea field, add the Textile formatter to it, and then use the appropriate code such as bc.. which is short for block code. bc.. INPUT "What is your name: ", UserName$ PRINT "Hello "; UserName$ DO INPUT "How many stars do you want: ", NumStars Stars$ = STRING$(NumStars, "*") PRINT Stars$ For more info have a look here. Hope that helps? 2
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now