Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. System Admin
  4. problem converting pascal code to C

problem converting pascal code to C

Scheduled Pinned Locked Moved System Admin
helpdelphisharepoint
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    balu chettri
    wrote on last edited by
    #1

    hi! i have a problem converting a pascal code fragment into my dear C. plz help to convert. Thanks in advance! type Dword=record Loword,Hiword:word; end; var RMRegs:record case boolean of true:(edi,esi,ebp,reserved,ebx,edx,ecx,eax:longint; flags,es,ds,fs,gs,ip,cs,sp,ss:word); true:(di,udi,si,usi,bp,ubp,rese,rved,bx,ubx,dx,udx,cx,ucx,ax,uax:word); end; b2c -- modified at 2:36 Thursday 3rd November, 2005

    D 1 Reply Last reply
    0
    • B balu chettri

      hi! i have a problem converting a pascal code fragment into my dear C. plz help to convert. Thanks in advance! type Dword=record Loword,Hiword:word; end; var RMRegs:record case boolean of true:(edi,esi,ebp,reserved,ebx,edx,ecx,eax:longint; flags,es,ds,fs,gs,ip,cs,sp,ss:word); true:(di,udi,si,usi,bp,ubp,rese,rved,bx,ubx,dx,udx,cx,ucx,ax,uax:word); end; b2c -- modified at 2:36 Thursday 3rd November, 2005

      D Offline
      D Offline
      Dan Neely
      wrote on last edited by
      #2

      I don't think you can do the case thing in C, or any C type language.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups