DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Comments in Variable file?  (Read 19,694 times)

P#m3t4p6

  • Participant
  • Joined in 2005
  • *
  • Posts: 2
Comments in Variable file?
« on: September 06, 2005, 10:28 PM »
Mouser,

Is it possible to add a comment line in the variable file?  For example - using a semicolon as the first character in the line?

; Comment line - ignored by "TheFormLetterMachine"

I am working on creating two configuration trees and I plan on submitting them and associated variable files to you for examples to use for newbies.

Awaiting your reply,
Ben

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Comments in Variable file?
« Reply #1 on: September 07, 2005, 01:22 AM »
great idea, and i'd love some example files!
i will add support for skipping over comments as you say.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Comments in Variable file?
« Reply #2 on: September 07, 2005, 01:23 AM »
ps - i'm definitely looking for suggestions for improving the forum letter machine, so if you have some ideas, do let me know.

P#m3t4p6

  • Participant
  • Joined in 2005
  • *
  • Posts: 2
Re: Comments in Variable file?
« Reply #3 on: September 07, 2005, 01:14 PM »
i will add support for skipping over comments as you say.

I found that any line that does not have an "=" sign is listed in the Value field.  Unfortunately, this takes up space in the Key/Variables window.  It would be helpful if a character could be defined so that the line would be ignored.

Ben

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Comments in Variable file?
« Reply #4 on: September 07, 2005, 01:18 PM »
yep, i will do as you say and make it ignore lines with ;
it will be updated in next version.

Original address: https://www.donationcoder.com/forum/index.php?topic=856.0