neil9999
08-08-2005, 06:59 AM
Hi,
I'm making an autoformatting thing where you type in plain text. At the moment it does titles and subtitles and it should do tables. indexold1 does tables but not when they're at the end. index does them at the end but it doesn't do anything else. There's an if...elseif...else thing but I doen't think it's doing any of them for the text and subtitles.
Here's the text that works fine in the old one:
Experiment to find the boiling point of water
Aim
To find the boiling point of water.
Method
We put some water into a saucepan. We turn the oven on full. We put a thermometer in the saucepan. We put the saucepan on the oven.
The temperature should gradually rise. Bubbles should start to form in the water. When the temperature on the thermometer stops, that is the temperature for the boiling point of water!
Results
Time 0 minutes 30 seconds 1 minute 1 minute 30 2 minutes
Temperature 30 degrees 55 degrees 80 degrees 100 degrees 100 degrees
The boiling point of water is 100 degrees celsius.
Conclusion
This is the boiling point because at this temperature the week bonds between the water molecules break.
And this only works in the new one:
Table
let num
a 1
b 2
c 3
I'd like both to work in the new one. There aren't any errors produced, it just doesn't work.
Any ideas?
Thanks,
Neil
I'm making an autoformatting thing where you type in plain text. At the moment it does titles and subtitles and it should do tables. indexold1 does tables but not when they're at the end. index does them at the end but it doesn't do anything else. There's an if...elseif...else thing but I doen't think it's doing any of them for the text and subtitles.
Here's the text that works fine in the old one:
Experiment to find the boiling point of water
Aim
To find the boiling point of water.
Method
We put some water into a saucepan. We turn the oven on full. We put a thermometer in the saucepan. We put the saucepan on the oven.
The temperature should gradually rise. Bubbles should start to form in the water. When the temperature on the thermometer stops, that is the temperature for the boiling point of water!
Results
Time 0 minutes 30 seconds 1 minute 1 minute 30 2 minutes
Temperature 30 degrees 55 degrees 80 degrees 100 degrees 100 degrees
The boiling point of water is 100 degrees celsius.
Conclusion
This is the boiling point because at this temperature the week bonds between the water molecules break.
And this only works in the new one:
Table
let num
a 1
b 2
c 3
I'd like both to work in the new one. There aren't any errors produced, it just doesn't work.
Any ideas?
Thanks,
Neil