Cov lus twg tsis yog cov lus ceeb toom?
Cov lus twg tsis yog cov lus ceeb toom?

Video: Cov lus twg tsis yog cov lus ceeb toom?

Video: Cov lus twg tsis yog cov lus ceeb toom?
Video: RUSIA-UKRAINE 29/8: Cov LUS KAWG ntawm tug poj niam nrog Prigozhin caij lub nyooj hoom Qhia Ntau Yam 2024, Kaum ib hlis
Anonim

Qee cov lus programming yog qhov tseem ceeb rau lawv tus lej (C, C ++, Java , C#, Verilog , Ruby thiab Python). Lwm tus yog case-insensitive (piv txwv li, notcase-sensitive), xws li ABAP , Ada , feem ntau BASICs (anexception yog BBC BASIC), Fortran , SQL ntawv thiab Pascal.

Yog li ntawd, dab tsi yog qhov teeb meem tsis haum?

A cas - rhiab heev program uas xav kom koj nkag mus rau tag nrho cov lus txib hauv cov ntawv loj yuav tsis yog teb kom raug yog tias koj sau ib lossis ntau tus cim hauv tus lej me. Nws yuav kho cov lus txib RUN txawv ntawm kev khiav. Cov kev pab cuam uas ua tsis yog paub qhov txawv nruab nrab ntawm tus tsiaj ntawv loj thiab tus lej qis yog hais tobe cas - insensitive.

Kuj Paub, yog python case rhiab lossis tsis? Tej yam uas yuav tsum nco ntsoov. Python yog a cas - rhiab heev lus. Qhov no txhais tau tias, Variable and variable yog tsis yog tib yam.

Piv txwv li, dab tsi yog case sensitive piv txwv?

Cov ntawv nyeem lossis ntaus ntawv uas yog rhiab heev tocapitalization ntawm cov ntawv. Rau piv txwv , "Computer" thiab "computer" yog ob lo lus sib txawv vim hais tias "C" yog qhov loj hauv thawj. piv txwv thiab tus lej qis hauv qhov thib ob piv txwv . Txhua yam uas tsis yog cas - rhiab heev txhais tau hais tias txhua tus tsiaj ntawv loj lossis tus tsiaj ntawv me tuaj yeem ua tau.

Vim li cas C case sensitive?

Vim C yog cas - rhiab heev thiab cov no yog cov ntsiab lus. Ua rau lawv cas -insensitive yuav ua rau lub compiler qeeb, tab sis qhov tseeb yog vim li cas nws tau txhais. Ib ntus, BCPL khaws cov lus me me ua cov lus tseem ceeb kom paub qhov txawv ntawm cov npe siv, uas yuav tsum yog tus ntawv loj, lossis ib tsab ntawv me.

Pom zoo: