Author Topic: Error formating code with VLIDE  (Read 3523 times)

0 Members and 1 Guest are viewing this topic.

m4rdy

  • Newt
  • Posts: 62
Error formating code with VLIDE
« on: November 20, 2010, 04:07:58 AM »
Does anyone know this error (while formating code via VLIDE) ?

Thank you

m4rdy
Autocad 2007, Windows XP

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: Error formating code with VLIDE
« Reply #1 on: November 20, 2010, 07:55:39 AM »
Never happened to me.
When in doubt shut ACAD down and restart. 8-)

Do it occur again?
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

m4rdy

  • Newt
  • Posts: 62
Re: Error formating code with VLIDE
« Reply #2 on: November 22, 2010, 10:22:03 AM »
Never happened to me.
When in doubt shut ACAD down and restart. 8-)

Do it occur again?


Hi CAB,

Thank you for reply, but..

1. Restart Autocad 07 ==> Error still happened.
next...
2. Restart Windows ===> Errror STILL HAPPENED.
next...
3. Autocad 2009 ===>> Error still happened
next...
4. Restart Autocad 2009  ===> fortunately Error STILL HAPPENED. (same error)
  :x :x :cry: :cry: :realmad: :realmad: :pissed: :pissed:

Note : The program works on A2007 and A2009.

m4rdy
Autocad 2007, Windows XP

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: Error formating code with VLIDE
« Reply #3 on: November 22, 2010, 10:36:39 AM »
Wow,
Can you post that code segment that will not format?
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

VovKa

  • Water Moccasin
  • Posts: 1632
  • Ukraine
Re: Error formating code with VLIDE
« Reply #4 on: November 22, 2010, 11:24:53 AM »
i had the similar once.
something was wrong with quoted lists as far as i remember.
i think i had to change '(1 2 3) to (quote (1 2 3))

m4rdy

  • Newt
  • Posts: 62
Re: Error formating code with VLIDE
« Reply #5 on: November 22, 2010, 09:07:13 PM »
i had the similar once.
something was wrong with quoted lists as far as i remember.
i think i had to change '(1 2 3) to (quote (1 2 3))

Hi VOVKA,

You're right. After i changed the code from:
Code: [Select]
(setq header '("No." "Nama" "Luas (m²)" "Keliling (m')" "Kode" "Panjang (m')"))

To :

Code: [Select]
(setq header (quote ("No." "Nama" "Luas (m²)" "Keliling (m')" "Kode" "Panjang (m')")))

then format selection, everything works well.
I don't know why.
Is there any explanation about that?
Thank you Vovka.

Wow,
Can you post that code segment that will not format?


Hi CAB, please try with another cad version. May be this error does have any relationship with IDE version, who knows.
Thank you CAB.

m4rdy
Autocad 2007, Windows XP

Lee Mac

  • Seagull
  • Posts: 12922
  • London, England
Re: Error formating code with VLIDE
« Reply #6 on: November 23, 2010, 10:40:26 AM »
I'm guessing its because the list contains a quote (within the string) perhaps?

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: Error formating code with VLIDE
« Reply #7 on: November 23, 2010, 10:51:05 AM »
Works OK in ACAD2000
Did you try this version?
Code: [Select]
(setq header (list "No." "Nama" "Luas (m²)" "Keliling (m')" "Kode" "Panjang (m')"))
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: Error formating code with VLIDE
« Reply #8 on: November 23, 2010, 10:57:35 AM »
Lee you are correct, the ' should be char 185 but is a quote mark.
Good eye 8-)
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

Lee Mac

  • Seagull
  • Posts: 12922
  • London, England
Re: Error formating code with VLIDE
« Reply #9 on: November 23, 2010, 10:59:47 AM »
Lee you are correct, the ' should be char 185 but is a quote mark.
Good eye 8-)

 :-)

alanjt

  • Needs a day job
  • Posts: 5352
  • Standby for witty remark...
Re: Error formating code with VLIDE
« Reply #10 on: November 23, 2010, 11:07:34 AM »
All options work fine in 2009.
Civil 3D 2019 ~ Windohz 7 64bit
Dropbox

m4rdy

  • Newt
  • Posts: 62
Re: Error formating code with VLIDE
« Reply #11 on: November 23, 2010, 11:47:29 PM »
I'm guessing its because the list contains a quote (within the string) perhaps?

Hi Lee mac,

Code: [Select]
(setq header '("No." "Nama" "Luas (m²)" "Keliling (m)" "Kode" "Panjang (m)"))

There is no ' (quote) within string, but still error when formating code (A07).

All options work fine in 2009.

Alan, did you try with above code?

Works OK in ACAD2000
Did you try this version?
Code: [Select]
(setq header (list "No." "Nama" "Luas (m²)" "Keliling (m')" "Kode" "Panjang (m')"))

CAB, Yes it works.

Thank you for all replies.

m4rdy
« Last Edit: November 23, 2010, 11:51:00 PM by m4rdy »
Autocad 2007, Windows XP