Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 75 - Playgujarati_V1.0
P. 75

    3-  cjkcj (equal to)

                     ykWftdy vkWijsVlZ (Logical Operators)
                     rk£dd vkWijsVjksa dk mi;ksx djosQ] vki nks ;k nks ls vf/d fjys'kuy vkWijsVjksa dks ,d gh lgh@xyr ifj.kke
                     nsus osQ fy, tksM+ ldrs gSaA ;s CykWDl vkidks ewY;ksa dh rqyuk dks vkSj vf/d ifj"Ñr djus dh vuqefr nsrs gSaA

                                     vkWijsVj                                           vFkZ

                                                             ifj.kke rHkh lR; gksrk gS tc nksuksa ,Dlizs'kUl (Expressions)
                      1- vkSj (AND)            and
                                                             lR; gksaA
                                                             ifj.kke  osQoy  rHkh  lR;  gksrk  gS  tc  dksbZ  ,d  ,Dlizs'kUl
                      2- ;k (OR)                or
                                                             (Expressions) lR; gksA
                                                             ifj.kke rHkh lR; gksrk gS tc ,Dlizs'kUl (Expressions) vlR;
                      3- ugha (NOT)        not
                                                             gksA

                         osfj,cYl  (Variables)
                     osfj,cYl dk mi;ksx ewY;ksa dks /kj.k djus osQ fy, fd;k tkrk gSA ;s os MsVk eku gSa ftuosQ fy, dksM lalkf/r

                     (Processed) gksus ij eku dks cnyk tk ldrk gSA ,sls nks rjhosQ gSa ftuls osfj,cYl dk eku fu;r (assigned)
                     fd;k tk ldrk gS% çksxzkej n~okjk vkSj ;wtj n~okjkA

                     LØSp esa] MsVk CykWd dk mi;ksx djosQ osfj,cYl cuk, tk ldrs gSaA ,d osfj,cYl cukus osQ fy,] bu LVsIl
                     dk ikyu djsa%

                     LVsi 1  CykWdksa dh MsVk (Data) Js.kh ij fDyd djsaA

                     LVsi 2  U;w osfj,cy  (New Variable)  Mk;ykWx  ckWDl  •ksyus  osQ  fy, esd

                             , osfj,cy (Make a Variable) cVu ij fDyd djsaA u;k osfj,cy
                             Mk;ykWx ckWDl vksiu djus osQ fy, esd , osfj,cy cVu ij fDyd djsaA

                                                 LVsi 3  ,d mi;qDr uke VsDLV ckWDl esa Vkbi djsa]
                                                         mnkgj.k osQ fy, osfj,cy uke (Variable name) esa osfj,cy osQ

                                                         fy, N1A

                                                 LVsi 4  ;g fufnZ"V djus okys fodYi dk p;u djsa fd D;k osfj,cy cuk;k
                                                         tkuk gS lHkh LçkbV~l osQ fy,  (For all sprites) ;k osQoy bl

                                                         LçkbV osQ fy, (For this sprite only)A

                                                 LVsi 5  vksosQ (OK) cVu ij fDyd djsaA

                                                                                                 LoSzQp  esa  xse  fØ,'ku  73

| 70 71 72 73 74 75 76 77 78 79 80 |